package com.vm.dao.mobile.base;

import com.vm.common.Page;
import com.vm.dao.BaseDAO;
import com.vm.entity.SmsDetail;

public interface ISmsDetailDao extends BaseDAO<SmsDetail, Integer> {
	
	
	/**
	 * 根据业务ID获取业务短信
	 * @param sectionId
	 * @param pageSize
	 * @param currentPage
	 * @return
	 */
	public Page<SmsDetail> getSmsByBusinessId(Integer businessId,Integer pageSize,Integer currentPage);
	
	/**
	 * 根据业务ID获取业务短信数量
	 * @return
	 */
	public Integer getSmsCountByBusinessId(Integer businessId);
}
